<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>模板语法</title>
  <script src="../static/vue.js"></script>
</head>
<body>
<div id="app">
  <div>{{name}}</div>
  <div v-text="name"></div>
  <div v-text="name+'李杰'"></div>
  <!--和name进行数据绑定-->
  <div v-html="name"></div>

</div>
<script>
var vm=new Vue({
  el:'#app',
  data:{
    name:'Dell'
    // name:'<h1>Dell</h1>'
  }
})
</script>
</body>
</html>
